//
// Created by ✎﹏ℳ๓独赏 ☆独醉 on 2023/4/15.
//
#include <stdio.h>
#include <string.h>
/*
 * 链式访问:一个函数的返回值作为另一个函数的参数
 */
int main(){
    int len;
    len = strlen("abc");
    printf("%d\n",len);

    //链式访问
    printf("%d\n", strlen("abc"));

    char arr01[]={'a','b','c'},arr02[]="abc";
    printf("%s\n%s\n",arr01,arr02);
    printf("sizeof:arr01=%d,arr02=%d\n",sizeof(arr01)/sizeof(arr01[0]),sizeof(arr02)/sizeof(arr02[0]));
    printf("strlen:arr01=%d,arr02=%d\n", strlen(arr01), strlen(arr02));
    return 0;
}